package org.itstack.demo.design;

import java.util.concurrent.TimeUnit;

/**
 * @Author: fanYuLe
 * @CreateTime: 2023-12-12  14:59
 * @Description:
 */
public interface CacheService {

    String get (final String key);

    void set (String key, String value);

    void set (String key, String value, long timeout, TimeUnit timeUnit);

    void del (String key);
}
